package com.pms.entity;

import com.pms.util.DateUtil;

public class Recoder {
	private String recoderId;
	private String desc;
	private String createTime;
	private User user;
	private Contact contact;
	private String userId;
	private String contactId;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getContactId() {
		return contactId;
	}
	public void setContactId(String contactId) {
		this.contactId = contactId;
	}
	public String getRecoderId() {
		return recoderId;
	}
	public void setRecoderId(String recoderId) {
		this.recoderId = recoderId;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Contact getContact() {
		return contact;
	}
	public void setContact(Contact contact) {
		this.contact = contact;
	}
	public String getTime(){
		String date=DateUtil.getNiceDate(createTime);
		return date;
		
	}
}
